package com.westos.userauth.dao;

import com.westos.userauth.domain.UserLogin;
import com.westos.userauth.domain.UserLoginSecurityQuestion;

import java.util.List;

public interface UserLoginSecurityQuestionDao {
    //修改用户登录的提示问题
    int updateSecurityQuestion(UserLoginSecurityQuestion question);


    //删除用户登录的安全提示问题
    int deleteSecurityQuestion(UserLoginSecurityQuestion question);
	
	//根据登录用户查找安全提示问题
	List<UserLoginSecurityQuestion> queryByUserLogin(UserLogin userLogin);

	//插入用户登录的安全提示问题
	int insertSecurityQuestion(UserLoginSecurityQuestion question);

	//根据问题id查找安全提示问题
    UserLoginSecurityQuestion queryUserLoginSecurityQuestionById(String questionEnumId);
}
